package com.decoration.basic.service;

import com.decoration.basic.entity.DecPhaseInf;
import com.decoration.basic.entity.PhaseUsers;
import com.decoration.basic.findCondition.DecPhaseFindCondition;

import java.util.List;

public interface DecPhaseService {

    List<DecPhaseInf> findAll(DecPhaseFindCondition findCondition);

    int insert(DecPhaseInf decPhaseInf);

    int updateById(DecPhaseInf decPhaseInf);
    int updateNextPhase(DecPhaseInf decPhaseInf);

    int deleteById(Integer phaseId);

    Integer getDecPhaseInfSize();

    DecPhaseInf findPhaseById(String phaseId);

}
